/**
 * <p>Copyright (c) 2011 深圳市鹏途信息技术有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	东莞交通工程质量监督综合业务系统        </p>
 * <p>创建者   :	liuyang 
 * 
 * <p>描   述  :   MiddleReport.java for com.pengtu.entity.business.middledetect    </p>
 * 
 * <p>最后修改 : $: 2011-9-27-上午10:52:52 v 1.0.0	 liuyang   $     </p>
 * 
*/

package com.pengtu.entity.business.middledetect;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicReport;

/**
 * 中间交工验收检测意见
 * 
 * MiddleReport
 * 
 * 2011-9-27 上午10:52:52
 * 
 * @version 1.0.0
 * 
 */
@Entity
@Table(name = "T_Q_CASE_MIDDLE_REPORT")
public class MiddleReport extends BasicReport {

	/**
	 * serialVersionUID:TODO
	 *
	 * @since 1.0.0
	 */
	
	private static final long serialVersionUID = 1L;

	private MiddleDatection middleDatection;//流程ID

	/**
	 * middleDatection
	 *
	 * @return  the middleDatection
	 * @since   1.0.0
	 */
	@ManyToOne(targetEntity = MiddleDatection.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public MiddleDatection getMiddleDatection() {
		return middleDatection;
	}

	/**
	 * @param middleDatection the middleDatection to set
	 */
	public void setMiddleDatection(MiddleDatection middleDatection) {
		this.middleDatection = middleDatection;
	}
}
